#  author:张靖昆 date:2020/3/5 name:test IDE:PyCharm
# 找出字符串中出现最多的字符，并且打印出这个字符
list01='ajsdhkahjakjsdkdawunjslkmcab'
max=0
for i in list01:

   if list01.count(i)>=max:
       max=list01.count(i)
       print(i)
       break


# 第二题：s='asnkbkkfdjkscbkjabjkc' 从小到大输出abcdfjkns
s='asnkbkkfdjkscbkjabjkc'
s1=set(s)
s2=sorted(s1)
print(''.join(s2))
